package com.wennimei.dao;

import net.paoding.rose.jade.annotation.DAO;
import net.paoding.rose.jade.annotation.SQL;

@DAO
public interface SoftDAO {

    @SQL("insert into 3g_soft (id,title,pic_url,info,add_time) values (:1,:2,:3,:4,now())")
    public void insert(int id, String title, String pic, String info);

    @SQL("select max(id) from 3g_soft")
    public Integer getMaxId();
}
